directories are now created when saving