[DF-2961] Added resurcive reading of "flags.txt" for TexturePacker.