Simplified code to read SGF from a file