Hi Jason,Your code is returning the correct results. Take a look at the 'datasetName' property explanation here.Returns the name of the layer's dataset the way it appears in the workspace, not in the TOC.The 'name' property differs:Provides the ability to set or get the name of a layer the way it would appear in the ArcMap table of contents.So, if you were to change the name of the layer in the table of contents, you can still find the original feature class/shapefile name by using the 'datasetName' property.