Your software are not able to warranty that A different course of action on the pc has not modified the file. It truly is what Eric Lippert refers to being an exogenous exception. You can not prevent it by examining for that file's existence beforehand.The the right way marked solution worked for me but I had to invest some time to find out whats g