Search inside files doesn't work properly

Dear community/OpenAI team,

I am currently struggling to access uploaded files.

In my prompts I just upload a simple txt file (2k lines) and ask ChatGPT (any model) to search for simple strings (e.g. a list of keywords) or just ask for the number of occurrences of certain keywords.

Even though ChatGPT responds that it has made “a thorough review of the entire txt file” the results are wrong most of the time. If I ask ChatGPT to print out the line XYZ, it can see the keyword which wasn’t detected before.

It seems that ChatGPT flips a coin and really looks into the file or just gives any imaginary answer.

Thanks in advance!