_load_all_files is an orphaned helper function