Java files test