add whitelist of file data that should be passed to archiver. tweak how stat is gathered and used.