ground truth generation from file