added a couple of function for managing tar and untar stuffs