Update collection generator

Update collection generator to dasherize filename