Implementing File logger.