Added append as an option (2) to the readFile class.