adding some logging to see what is going on with bucket and file paths