Are you sure that the output is not just being placed somewhere you didn't expect? For example, do any of your filenames have spaces in them? If so, then you should use "> '$file.out'" instead of "> $file.out". Is there anything else that's changed recently that might have an unexpected effect? Other than some error like that, I'm stumped.