Avoid performance hit of reading structure file unless going to use it.