Coated or thin film device