Multilayered structural design of flexible films for smart thermal management