home path made generic in clustering javafile