<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def diet(file, configuration, check):
 """Simple program that either print config customisations for your environment or compresses file FILE."""

    config = process.read_yaml_configuration(configuration)
    process.diet(file, config)