Updated to correct cred file parsing.