new structure of visitor regarding the file refences