Memory effects in a non-uniform flow: A study of the behaviour of a tubular film of viscoelastic fluid