blocks: fix file meta data source to handle repeat of files.