Fix connection file