Added using connutils to fileutils
Some fixes

Handling KeyboardInterrup
Fixed docstring