reader.file returns nested structure