change from mediaType to fileType after discussion with AP