Added parent field to file struct