Thin film switch