update file recover method and line insert method again=.=