add file to class