progress on pack/unpack files but not quite there yet