add method to load a config file. Change syntax of picture files