public String writeFile(String filePath, Object[] objects, int fileType, boolean append) {
		String errorMessage = null; // if unchanged, method was successfull.
		File file = new File(filePath);
		
		// write to file of type typeCode
		switch(fileType) {
			case FileHandler.BIN_FILE:
//				try {
					return "Standard Binary file access is not currently supported.";
//				} catch(IOException ioe) {
//					errorMessage = ioe.getMessage();
//				}
//				break;
				
			case FileHandler.OBJ_FILE:
				try {
					// serialized objects only
					ObjectOutputStream out = new ObjectOutputStream(
						new BufferedOutputStream( new FileOutputStream(file)) );
					
					// Write individual objects sequentially.
					for( int i=0; i<objects.length; i++) {
						out.writeObject( objects[i] );  // objects are written as type Object; cast required on retrieval
					}
					out.close();
				} catch(IOException ioe) {
					errorMessage = ioe.getMessage();
				}
				break;
		}
		return errorMessage; // if null, method was successfull.
	}