Pulled SGF output fns into a separate file.