'Loads the Python file and checks if it is in violation.
Arguments:
file_full_path: The file to be loaded and linted.
lint_function: A function that will lint for violations. It must
take two arguments:
1) string contents of the file
2) results object
results: A FileResults to be used for this file
Returns:
The file results containing any violations.'

def _load_and_check_file_is_safe(self, file_full_path, lint_function, results):

    file_contents = self._load_file(file_full_path)
    lint_function(file_contents, results)
    return results
