no longer apending file, just overwriting