make std_thres 0 by default
correct bug: read new file when the current one is done.