parsing of ttl file