files_begin and files_end