add_files method (#2)