Fixed default files population

Fixed a wrong variable used while populating the defaultFiles array