@classmethod
def from_path(cls, path, encoding='utf-8', serializer='yaml', resolver=None,
    default=None):
    """
        Create config from a single file
        :type path: six.text_type|six.string_type
        :type encoding: six.string_types
        :type serializer: ISerializer|six.text_type|six.binary_type
        :type resolver: DSLResolver
        :type default: collections.Mapping
        :rtype: Config
        """
    return cls.from_files(files=[path], encoding=encoding, serializer=
        serializer, resolver=resolver, default=default)
