Fixed issue using deprecated fileCollection without 'new'