create and updated file