You would need to use eval, but that is probably not the right path. If you have many files for which you need to associate names, how about using a dict:
The simple answer is “Don’t do this”. Dynamically generating variable names is a bad idea, and you should instead use a collection datatype, probably Dict, as @lmiq suggested.
There are also better and safer ways of building the file path. For example, you can use normpath, which fixes your path to be correct for the current platform: