This variable may not be necessary at all. It's not checked and only used to retrieved glob which confuses at first when reading these 4 lines.