change greedy file