Don't write shortcut names to the file if the string's empty