support stacked files with multiple tags