Ensures variable names match the filename