running one file per java invocation