Update and rename fileType to fileMimeType