if Directory == None or Directory.strip() == "" or not os.path.exists(Directory):