Snapshot data generation implementation, also changed how current file is handled like everywhere - #14