Initial code for reading in files.