'Load a file, and then the tests in that file.
@param fileName: The file name to load.
@param recurse: A boolean. If True, inspect modules within packages
within the given package (and so on), otherwise, only inspect
modules in the package itself.'

def loadFile(self, fileName, recurse=False):

    from importlib.machinery import SourceFileLoader
    name = reflect.filenameToModuleName(fileName)
    try:
        module = SourceFileLoader(name, fileName).load_module()
        return self.loadAnything(module, recurse=recurse)
    except OSError:
        raise ValueError('{}    is    not    a    Python    file.'.format(fileName))
