qqp question1: What is the best way to read a text file and replace specific typed words while parsing in Java? question2: I have a file including a text and I want to replace each of the characters in the text to be replaced by their binary code. What is the best method for doing so in Java?