now writing to file
meh?