to recursive but bug remains
create recursive directory file replacer