making sure event attaches to newly uploaded files