Add the stream file close function and add the thumbnail selection on bit stream