read data path from config