use check_file
refactor generate_overview_config_file
add test for generate_overview_config_file