added direct file appender functionality