adding nodes + basic things about handling files