assign a file a pool id, then submit it use multi-thread