Forgot to add the file stdin to the while loop