added pack_files method

Signed-off-by: marcomilanesio <milanesio.marco@gmail.com>