The study of a nano-porous optical film with the finite difference time domain method