Expanded the regex pattern to match file versions