Correct file.go changes and change TCP writer connections index to start at 1.