CORE-4977 converted media-type to file-type.