Added file type filtering