Search for a charactter in a file

Even if there was a function to do this it would have to use the read function to acheave it.
There is no other way, something has to read every byte, that is how computers work.