Add file redirection support