Extract method for importing single log file.