Getting writing to file working , nearly not quite
commit please git