private classifiedData classify(String imageFilePath){
		classifiedData DataIn = new classifiedData();
		
		try {
//			System.out.println("the file output: " + imageFilePath);
         	
			//load the image as a buffered image (works multiple features from a single image)
         	BufferedImage img = ImageIO.read(new FileInputStream(imageFilePath));
         	
         	//This is for readng out the file name and the classification from the image file name
            //Assuming only need last 10 chars
         	//Input name of file unique , removes the path and the .jpg from the file
         	String fileName = imageFilePath.substring((imageFilePath.length() - 8), imageFilePath.length() - 4);
         	
         	//Fill the data object
         	DataIn.putImgName(fileName);
         	DataIn.putClassification(getClassification(fileName));
         	DataIn.putCEDDData(GetCedd(img));
            DataIn.putFCTHData(getFCTH(img));
            
         } catch (Exception e) {
             System.err.println("Error indexing images.");
         }
		
		if(DataIn.isComplete()){
			return DataIn;
		}
		
		return null;
	}