def METHOD_NAME(filename: str) -> str:
    """Move filename to the trash directory.
    Args:
        filename: Name of the file to move to the trash directory.
    Returns:
        The path to the file in the trash directory.
    """
    filename = os.path.abspath(filename)
    trash_filename = _get_trash_filename(filename)
    _create_info_file(trash_filename, filename)
    shutil.move(filename, trash_filename)
    return trash_filename