input file no longer overwritten