add file appender for logging