Started using file streams rather than cin & cout