add missed return

fixed exception handler return statement and prevent the code to proceed
and use uninitialized variable b_file_exist