Keep folds when file closes