bullshit to make jshint happy, and added filter to last of retries, only list files once in result