Fixes bad file reference at loop point.
vague project update