scanner.py wont crash with empty test.txt