Read connection data from file