apparently catting a file into a while loop breaks other stdin tasks