add LogFile class to take logs