Refactor
Send data from dir
Refactor