using a global var for the conn file