setting file mimetype