<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_configuration(self, configuration, collect_another_source, done, result, src):
 """Used to add a file to the configuration, result here is the yaml.load of the src"""

        if "includes" in result:
            for include in result["includes"]:
                collect_another_source(include)
        configuration.update(result, source=src)