require the fileinfo extension