Nano flashlight enables new applications of light