Preparation and properties of resistive films