use a ````for idx,path in enumerate(paths)``` and add the `idx` to the log messages to make obvious which attempt this is