protected void WriteTileNameLine(string relativePath, string successText, string infoText)
 {
     TileNameWriter.WriteLine(string.Format("{0}\t{1}\t{2}\t{3}", Program.CurrentCount,
                                            (relativePath ?? "").Replace("\t", "_"),
                                            (successText ?? "").Replace("\t", "_"),
                                            (infoText ?? "").Replace("\t", "_")));
 }
 protected void WriteSubTileNameLine(int subTileIndex, int numSubTiles, string relativePath, string successText, string infoText)
 {
     if (numSubTiles > 1)
     {
         TileNameWriter.WriteLine(string.Format("{0}/{1}\t{2}\t{3}\t{4}", Program.CurrentCount, subTileIndex,
                                                (relativePath ?? "").Replace("\t", "_"),
                                                (successText ?? "").Replace("\t", "_"),
                                                (infoText ?? "").Replace("\t", "_")));
     }
     else
     {
         WriteTileNameLine(relativePath, successText, infoText);
     }
 }