prune_file is using wrong comparator

The file name comparator should be 'eq', not '=='.