About to implement writing to file