implemented function to check existence of folders and ask user what to do with them.