adding generate_file_name() and get_file() for easier stubbing in a test