I am getting it to write, but was coming up with a box everytime asking if I want to overwrite the existing file.