add write_file(), read_file() functiongit status