filetools.py: change some variable names

Represents more correct what the variable is/does.