Load whole input as an array (ensure proper error message)