Update LogFileWriter.java

eclipse cheated me as this code looks nice on it, but here is different.