Add scandir(dirname) to CoDScript