Filter files by extension