string loadFile(string name)

Load content of file into string. File is expected to be in utf-8 encoding.