Close #20. Issue occured if a LOC had a new line character in it. Now we appropriately skip it.