It is considered slightly more pythonic to write just `if path` instead of `if len(path) > 0`. But this is a real nit...