simplified I/O redirection