Fixed another issue when calling deprecated fileCollection object without new.