Added the -0 option to ignore empty files.