Why my GPT 4.0 has trouble analyzing code file and excel file occasionally?

As shown in this screenshot, it produces error message when trying to access the file.