Mainly reading connection info from file