File saving method change