Sub replace_into_filetext(input As Map) As String
Dim tresc As String = File.ReadString(File.DirApp , "clear.txt")
log(tresc.length)
log("[[" & tresc & "]]")
For i=0 To input.Size-1
Dim key As String = input.GetKeyAt(i)
If tresc.Contains(key) Then
log("key = [[" & key & "]]")
log("value = "[[" & input.GetValueAt(i) & "]]")
log("before = [[" & tresc & "]]")
tresc = tresc.Replace(input.GetKeyAt(i), input.GetValueAt(i))
log("after = "[[" & tresc & "]]")
End If
Next
Return tresc
End Sub