Improve file filter