handle open file fail

handle open file fail