This library can read and update netrc files, preserving formatting including comments and whitespace. WWW: https://github.com/geemus/netrc