adjust file ending
backwards iteration, not yet working