Read data from config file