Not sure how to setup OpenHAB when it comes to the config file

Are you on openHAB 1.8 or are you trying openHAB 2? If openHAB 2, see Where is the configuration file?