
artifactIdentity = new FileIdentity(path); //can only create a file using open
</BUG>
}
<BUG>getArtifactProperties(artifactIdentity).markNewEpoch(eventData.get("eventid"));

Artifact vertex = putArtifact(eventData, artifactIdentity, true); //updating version too
edge = new WasGeneratedBy(vertex, process);</BUG>
syscall = SYSCALL.CREATE;
<BUG>}else{
if((!FileIdentity.class.equals(artifactIdentity.getClass()) && !artifactIdentity.getClass().equals(NamedPipeIdentity.class))){ //not a file and not a named pipe

artifactIdentity = new FileIdentity(path);
</BUG>
}

Process process = putProcess(eventData);
ArtifactIdentifier artifactIdentifier = getValidArtifactIdentifierForPath(path);
AbstractEdge edge = null;
if(isCreate){
if(!FileIdentifier.class.equals(artifactIdentifier.getClass())){
artifactIdentifier = new FileIdentifier(path); //can only create a file using open
}
getArtifactProperties(artifactIdentifier).markNewEpoch(eventData.get("eventid"));
syscall = SYSCALL.CREATE;
}
if((!FileIdentifier.class.equals(artifactIdentifier.getClass()) && !artifactIdentifier.getClass().equals(NamedPipeIdentifier.class))){ //not a file and not a named pipe
artifactIdentifier = new FileIdentifier(path);
}
