https://stackoverflow.com/questions/43580/how-to-find-the-mime-type-of-a-file-in-python