make empty files not be emitted, etc