adds create_files method