Added 'allowEmpty' variable: Allows task's output files to be empty