<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unfold_file(self, path):
 """ Parse given file and add it to graph """

        yaml_config = self.file_index.unfold_yaml(path)

        self.unfold_config(path, yaml_config)