def find_files(self):
        # type: () -> List[str]
        """Returns list of files found at path
        """
        if os.path.isfile(self.path):
            path = os.path.abspath(self.path)
            if self._check_extension(path) and not self._blacklisted_filename(path):
                return [path]
            else:
                return []
        elif os.path.isdir(self.path):
            return self._find_files_in_path(self.path)
        else:
            raise InvalidPath("%s is not a valid file/directory" % self.path)
Returns list of files found at path
        
tvnamer/files.py