bump version
convert filename into folder+index when appropriate