some savings to files fixes