1. Fixed context bug in File Logger
2. Added format for file logger