implemented function to check existence of folders and ask user what to do with them.
finalized function for checking and (re-)creating directories.