while (file != null && !file.equals(root)) {
while (file != null && !file.getAbsolutePath().equals(root.getAbsolutePath())) {
	public static List getPathFiles(File root, File file) {		List ret = new ArrayList();		while (file != null && !file.equals(root)) {			ret.add(file);			file = file.getParentFile();		}		Collections.reverse(ret);		return ret;	}