Search for a charactter in a file

And where are you searching for this character? our post title says 'in a file'. Is this some file on an SD card?

Why exactly do you not want to use the 'read' function? How else do you expect to read data from a file?