attributes and examples can be initialized from file