Fixed the file filtering.