#15 increased visibility of file writer