started working on line-by-line file reading

Signed-off-by: Adrian Matejov <a.matejov@centrum.sk>
awk now checks line input, not whole file

Signed-off-by: Adrian Matejov <a.matejov@centrum.sk>