Correction to file logger