Split atagedFolder into two params: stagedPath and stagedFolder