add document, fix a bug that missing file path after status recover