update a small bug with the fileinput code