Fix - added verification to prevent filenot found exceptions

added conditionnal  statement to avoid exceptions (mostly verifying if
file exists before trying to get file version instead of getting
exception trapped in catch statements. (With debug/exceptions and
"thrown" checked, it avoid multiple errors each time project is started)