Fixed problem with versioning files