make sure uploaded files aren't processed twice