Read a file and print position of char in String