Nonlinear waves guided by thin films