Read Text File: One or more errors occurred

Hello Rawan
I’m facing the same problem but i dont havean if condition
Can you help me?