Added File logger and exceptions