InputReader and LineStorage fitted together