retrieving config file setup method