Finding mimetype of the requested file