Absorption and desorption of liquid film flowing over a porous layer