Merge "Find mime from file extension if the mime is empty"