'create a yaml file'

def create(self, path, value):

    if (not self.file_exists()):
        try:
            tmp_copy = yaml.load(yaml.round_trip_dump(self.yaml_dict, default_flow_style=False), yaml.RoundTripLoader)
        except AttributeError:
            tmp_copy = copy.deepcopy(self.yaml_dict)
        try:
            tmp_copy.fa.set_block_style()
        except AttributeError:
            pass
        result = Yedit.add_entry(tmp_copy, path, value, self.separator)
        if (result is not None):
            self.yaml_dict = tmp_copy
            return (True, self.yaml_dict)
    return (False, self.yaml_dict)
