null check on fileInfo, as a precaution and specify fileInfo type explicitly - so that it's obvious what type it is without having to look for declaration of configFiles