Fix crash  when unable to open file
Update version