added credential file to keep password safe

Hi,
Since the command-line shows up in process list, I thought it would be nice to have a way of getting credentials from a file which can be secured by permissions. 

So instead of using -u $user -p $passwd one can pass -f /path/to/credentials.yaml

Hope you like it.