Abstract FileLogger to ILogger