now it should append to file