How to work with file versions