renamed variable fileBased to onlyConcatRequiredFiles