restore loading file from disk