Persistence: set version and file through resource file