Using a input stream for reading large files (test updating pending)