You can name the variable whatever you want? If you feel ifs works then use it? It is recommended however to use variable names that have more meaning and understanding.
fname and ifs are just variable names used in your code. The fname variable holds the filename that is passed to the Text constructor. So you can use whatever filename you want as long as you pass it to the constructor when creating the Text object.