I have completely emptied the folder location and reran the flow again. The error still persists that's why I thought I'll reach out for help.
After removing
versioned=True
the code works as expected but then I miss out on seeing what the results for the previous runs look like