@Override
    protected Void doInBackground() {
        for (int i = 0; i < this.FileList.size(); i++) {
            publish();
            String cName, name, source;
            name = this.FileList.get(i).getName();
            source = this.FileList.get(i).getAbsolutePath();
            cName = name.substring(0, name.length() - 8);
            cName = GuiDisplayUtil.cleanString(cName) + ".jpg";
            File sourceFile = new File(source);
            File base = ForgeProps.getFile(IMAGE_BASE);
            File reciever = new File(base, cName);
            reciever.delete();

            try {
                reciever.createNewFile();
                FileOutputStream fos = new FileOutputStream(reciever);
                FileInputStream fis = new FileInputStream(sourceFile);
                byte[] buff = new byte[32 * 1024];
                int length;
                while (fis.available() > 0) {
                    length = fis.read(buff);
                    if (length > 0) fos.write(buff, 0, length);
                }
                fos.flush();
                fis.close();
                fos.close();
                count = i * 100 / this.FileList.size() + 1;
                setProgress(count);

            } catch (IOException e1) {
                e1.printStackTrace();
            }

        }
        return null;

    }