add mime type for text/plain and gif