def file_names(inp_fname):
    """Return the linkname and filename for dotfile based on user input.
    """
    link = inp_fname if inp_fname.startswith('.') else ".{}".format(inp_fname)
    return link, "dot{}.symlink".format(link)