Adds event listner to remove thumbnail images
Adds the events file