Obtain the username and password from a file

I'm pretty sure this is the last real block of code I need to make
this usable for other people.