Added switch to set password from file (closes #2).