Catching exceptions in listener loop
File not found handling
line ending stuff..