Changed to save a single file rather than one per product