write fs to filename
add isclean attr