use `file` to match on mime types instead of file extensions in archive module