fixing filters so you can pass in file names and basenames