Spaces are fine and allowed in Windows paths too.
You need to verify that your working directory is correct (since you use a relative path, os.path.abspath()
will base the absolute path of the current working directory in that case).
If the base path is correct, check that there really is a MID 1
directory at that location. Perhaps check the parent directory with os.listdir(os.path.abspath('files'))
first to see what is really located there.