Changed the way the file dialog file filter works