Pseudo singleton and method for updating one file