Java Program that modifys .txt files