how can i make my application load data from a cfg file?