Addded templates in fileNames to load them from resources