To answer your original question, you could take the definition of DATA-FILE from the kernel, strip out the GETPATHSPEC and use that as your basis. However, adding an unknown number of ALLOTs into the dictionary after compilation is not a good idea and is not recommended. Use one of the facetiously named words in Lib/Filehacks.fth.