Handle errors when openning file on commiting to SVN