Create editor instanse for file from tree on click