Make replacefiles optional for versioning