cleaner way of deleting original files