thanx a lot for your wealth of information. in my case, the files have the same length, so there is no problem. i understand python a bit more. i guess i'll have to give up c-reasoning...