add spec
add FileWriter
directory keep
Remove mkdir code
move to cloak\writer...
throw exception