Yes, you are right in your last edit.  I was going to add `os.path.join` everywhere... but then I thought it was cleaner using the `os.path.sep` and keep adding all the filenames with `+`.  But I'm happy to change it all to `os.path.join` if you think it's better.