[BUG] workflow of file saving