modified delete photo method to delete photos from jsp folder