Numerical simulations of viscoelastic film stretching and retraction