added getFileBlocks