handle_files module modified, no change in functionality