How to make some words bold in a given text file through the program?