I'd like to check whether a file exist cos I want to Kill it and then call a function to write a file with the same path and name. My function cannot overwrite the file.