Fixed Content-Type of getFileContents()

Added getMimeType