Recalculation of lines in a file on the SD card.

Thanks for you reply! I will try to debug it again and more detailed.