myfile should be modified