Update call to getFileRecords() to use correct type.