update files to File