fix some bugs ,can get files from both cfs nodes and origin