refactored config_files recipe