Consequences of Confinement Conditions on Absorption in Molecular Nanofilms