checking for threshold in file