parser for ticket files