file/directory: add recover