Write a file filter