adding threshold.txt file