public static boolean checkIfParamsNeedUpdating(IFile pboFile) { Properties prop = new Properties(); try { //load a properties file if (pboFile.exists()) { System.out.println("Exists?"); } else { System.out.println("Doesn't exist?"); } prop.load(new FileInputStream(pboFile.getFullPath().toFile())); System.out.println("Read:" + prop.get("parameters")); } catch (IOException ex) { ex.printStackTrace(); } return true; }