Advanced filtering of files