My code was previously working ok, but the folder structure has since changed so i\'ve updated it. It will run through about 350 files ok and then presents a file not found erro