restore filres as described in docs