Opens a file and returns a JSON-header and the generator for the plain data.
file name of the file to read.