registerAPI(BlockDeviceAPI.class, this);
registerAPI(FSBlockDeviceAPI.class, this);
	public FileDevice(File file, String mode) throws FileNotFoundException, IOException {		super(null, "file" + System.currentTimeMillis());		raf = new RandomAccessFile(file, mode);		registerAPI(BlockDeviceAPI.class, this);	}