add mediatypes to filenames