added template structure to Filereader