diff --git a/reach/reach.py b/reach/reach.py
index <HASH>..<HASH> 100644
--- a/reach/reach.py
+++ b/reach/reach.py
@@ -184,7 +184,7 @@ class Reach(object):
             if header and idx == 0:
                 continue
 
-            line = line.split()
+            line = line.rstrip(" \n").split(" ")
             if len(line) != size + 1:
                 raise ValueError("Incorrect input at index {}, size "
                                  "is {}, expected "
fixed bug with empty strings

Some vector files are formatted with spaces between the file number and
line breaks, which lead to errors in importing. These are fixed.