Extend primitiveFileString to answer file names