package default_package;

import java.io.File;

public class VoidFile extends File{
	private boolean isVCEncrypted;
	private String path;
	public VoidFile(String path) {
		super(path);
		this.path = path;
		isVCEncrypted = getExtension().substring(0,2).equals("VC");
	}
	public boolean getIsVCEncrypted() {
		return isVCEncrypted;
	}
	public void setIsVCEncrypted() {
		isVCEncrypted = getExtension().substring(0,2).equals("VC");
	}
	public String getExtension() {
		if (this.path.lastIndexOf('.') > 0) {
		    return path.substring(path.lastIndexOf('.')+1);
		}
		return null;
	}
	public void setExtension(String path) {
		VoidFile vf = new VoidFile(path.replace("\\", "/"));
			vf.renameTo(new File(path + "VC" + getExtension()));
	}
}

@@ -267,32 +267,83 @@
 als(%22VC%22);%0D%0A%09%7D%0D%0A
+%09//Checks if the file is encrypted with VoidCrypt%0D%0A
 %09public boolean 

Update VoidFile.java