Added move to end file and to given row