Replace "text/plain" with MimeTypes.TEXT