line oriented text processing using mmap