StringTokenizer stringtokenizer = new StringTokenizer(s1, ".");
String s2 = stringtokenizer.nextToken() + ".png";
String s3 = file.getParent() + "/" + s2;
try
{
BLPDecoder blpdecoder = new BLPDecoder(s);
blpdecoder.writePNG(s3);
statusText.append("Decoded " + s1 + " into a .png\n");
}
catch(ConversionException conversionexception)
{
statusText.append("Couldn't decode " + s1 + "\n");