implement java file process