file save works properyly, files nt created as folders