Added reading of complete text file contents to memory