Updated mm_archive to handle files as well.