Rename function to denote that it only matches file type.