public void writeFileContent(File file, long offset, VDK1FilePattern pattern) {
		
		BufferedInputStream bis = null;
		byte[] buffer = new byte[1024];
		long shiftOffset = 0;
		int i;
		
		try {
			bis = new BufferedInputStream(new FileInputStream(file));
			
			while((i = bis.read(buffer)) != -1) {
				
				seek(offset + pattern.getOffset() +shiftOffset);
				write(buffer);
				shiftOffset += i;
			}
			
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}