Parser for cred file