in reply to Re: Function for reading file
in thread Function for reading file

My bad i have updated the code it was a mistake, but your solution works good :)