finished up the file filtering