Name      = "New file name.jpg";
    Filename2 = "New file name 2.jpg";

    FileID2 = "7578";
    URL     = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";

    Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);

    FileID = "7580";
    URL    = "b24-ar17wx.bitrix24.by";
    Token  = "b529cb66006e9f06006b12e400000001000...";

    Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);