finishe recusive file deploy function first version