def METHOD_NAME(self, *_args, **kwargs):
    state["file_system"] = kwargs["file_system"]
    file_path = kwargs["file_path"]
    state["file_path"] = kwargs["file_path"]
    return FileMock(file_path=file_path)