def METHOD_NAME(files):
    def create_file(name, content):
        METHOD_NAME = os.path.join(workspace.root_path, name)
        with open(METHOD_NAME, 'w', encoding='utf-8') as f:
            f.write(content)
        workspace.put_document(uris.from_fs_path(METHOD_NAME), content)
    for name, content in files.items():
        create_file(name, content)
    return workspace