Use walkdir in nof instead of replace