Replaced hard coded `version` filename to variable