I had the same thing in my betta's heated and filtered 10 gallon. I put in an airstone and set the pump to a low flow, and the surface agitation seems to have taken care of the film. Haven't seen it since. I think it has something to do with the water not moving around.