Added a file extension argument to the update_..._files method.