added versioning support for all filetypes