public void writeFile(File file) {
			try {
				FileInputStream req = new FileInputStream(file);
				byte[] buffer = new byte[1024];
				int b = 0;
				while ((b = req.read(buffer, 0, 1024)) != -1) {
					output.write(buffer, 0, b);
				}
				req.close();
				output.close();
			} catch (Exception ex) {
				ex.printStackTrace();
			}
		}