added function to delete old archives on the remote hosts to clear space