Computer simulation demonstrates the feasibility of pumping a one-dimensional nonlinear photonic crystal (layered one-dimensional periodic structure) by optical energy localizing in the crystal when it is irradiated by a femtosecond pulse train. Simulation is based of the recently suggested approach to similar problems. It is shown that the pumping effect can be employed in 3D optical storages.