@classmethod<EOL><INDENT>def from_file(cls, filename):<DEDENT>
instance = cls()<EOL>with open(filename, "<STR_LIT:rb>") as file_stream:<EOL><INDENT>config_data = yaml.load(file_stream)<EOL><DEDENT>instance.load(config_data)<EOL>return instance<EOL>
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