Adding method for processing files sequencially by lines.