Use the correct variable for the filename