Starting file writer code - working on creating channels next