The command readfilebyindex is used to read a file in the format Walk DB at a specified position. Each key should be on a separate line.
country=USA state=California city=Los Angeles population=3.792.621
In the example above the file test.txt has been downloaded using the command downloadfile.
The function readfilebyindex reads the file looking for the position (index) and stores the key specified in the variable sKeyName and the value in the variable sKeyValue. The variable iReturn stores the value specifying if the position (index) was found or not.