used previous version of file_class