addFile: Java code resource