add function to pack all paths into a binary file