generate filters from Blocks.txt