various optimization >0 and etc. In indexinf writefile - now api function. Clean uni character in devicename on indexing process