cleaning up cli file