trim version file