Added capability to load and read to file.