Relate files to nodes