remove tmp dir and close(f)
Merge pull request #35 from ekopylova/add-sumaclust

remove tmp dir and close(f)