Add function for remove tar file if encrypt is activated.