Keeping the file upto date