introspect file to determine actual mimetype