possibly added code and removes files outside of wanted range(ln 206)