Added logic to read mime type from the file extension and then create

content object using that mime content type.