add javaagent to trace file open