opens a file and returns the content as a string

copy the code of file handling / open file

click here to select all the code