This visitor should be called something other than PropertiesVisitor since it can handle files other than properties.