Started constructor. Try catch block done for reading in a filename.