AbstractFile:  move the content_type check from module to the class