Read in file and prepare stream for file reading