Sequential read instead of memory mapping. Now supporting stdin. Added prefix option. Cleaned code.