<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_file(cls, filename):
 """ Reads configuration from given path to a file in local file system and returns parsed version of it. :param filename: Path to the YAML file in local file system where the configuration will be read from. :type filename: str :return: Configuration instance parsed from given configuration file. :rtype: Configuration """

        instance = cls()

        with open(filename, "rb") as file_stream:
            config_data = yaml.load(file_stream)

        instance.load(config_data)

        return instance