Honestly I don't like a lot this LATEST_FILE option, just using store_loot for the images looks like the correct thing for me.