for Java files