method to get data folder