Ignore pdf and midi files.