'Checks if the configured regular expressions allow the import
of the file given in full_path.'

def file_filter(self, full_path):

    import_config = dict(config['import'])
    full_path = bytestring_path(full_path)
    if (('singletons' not in import_config) or (not import_config['singletons'])):
        return (self.path_album_regex.match(full_path) is not None)
    else:
        return (self.path_singleton_regex.match(full_path) is not None)
