Parsing of types in key-file