DumpFile(filepath, list) Writes the YAML stream to a file instead of just returning a string. LoadFile(filepath) Reads the YAML stream from a file instead of a string.