Thin film material energy storage