added folder support to backup