Add file in dir
tmp rename
rename