code: public static File findInstanceDirectoryOnAgent( Instance instance ) {
  
  		String path = InstanceHelpers.computeInstancePath( instance );
  		path = path.substring( 1 ).replace( '/', '_' ).replace( ' ', '_' );
  		String installerName = ComponentHelpers.findComponentInstaller( instance.getComponent());
  
  		return new File( Constants.WORK_DIRECTORY_AGENT, installerName + "/" + path );
  	}
docs: Finds the directory where an agent stores the files for a given instance.
  @param instance an instance (not null)
  @return a file (not null, but may not exist)