Changed the file archiving code to use the new addArchive subroutine in Entry.