the directories are auto recreated if they don't exist