Created a separate method to handle archiving
Added the ability to archive the first-level directories under the root (--shallow)