Seems like we'd normally use resolve() in a case like this (it seems very similar to the DragAndDrop case just above here -- we don't actually want the metadata, but we do want to know if it's a file or a dir).