public void executeQueryFile(String fileName) throws QueryEngineException{
		
		try {
			@SuppressWarnings("resource")
			Scanner fileScan = new Scanner(new File(fileName));
			//Process each query through the loop
			while(fileScan.hasNextLine()){
				String query = fileScan.nextLine().trim().toUpperCase();
				
				//Query validation
				StringTokenizer st = new StringTokenizer(query," ");											
				if (st.countTokens() != 3) throw new QueryEngineException ("Malformed Query "+query+": Not a valid N-Triple record");		
				
				executeQuery(query);
			}
		} 
		catch (FileNotFoundException e) {
			System.out.println("File Not found");
		}
		catch (Exception e) {
			System.out.println("Can not process the query file");
		}
	}