Added creationg of path before creating the configuration file