eagerly fetch the FileType, and if found, use it to form the content-type header