Imported System.IO

Makes the code significantly easier to read.