added a sleep for logs and added second paramater
example.log and logs.csv added