matrix archive to pthread and boost filesystem