in reply to text file problem

Could you provide a sample of the input and expected output, and the code you've written? Then we could make more intellegent suggestions.