Replaced text file with hello world java program