add file-name and folder-name functions