Use the correct prompt for file/folder.