Fix check that file line format is a Number using regexp