Added error handler for unexisting log file