Creating relationship file and storing artefacts in graph db.