Update file_input.py

got a working test