modified fileappender