Hi @kmcgrath,
As far as I know, you can't really change the id number of a file, that's basically auto-created by Canvas when the file is uploaded.
I think what you'd need to do is restore the file with the id of 6827753. There is an unofficial, undocumented, and unsupported way to do this, but because it's unsupported we generally don't discuss that method here in the community. You may be able to contact Canvas support to see if they could restore he file with that id number for you though.
If you have no luck with that, I think you'd unfortunately have to modify every page to point to the new existing file.
I believe the issue probably stems from doing multiple imports. Without adding a ton of additional logic in, which probably isn't feasible, I think the import just makes a copy of whatever files are coming over, rather than checking to see if they exist and if they are the same exact thing as something already in the course. Like you, I hate a messy files area, so I have run into this before myself and also wish there was an easier way to fix this.
I know this isn't necessarily the answer you were looking for, but I hope it helps a bit.
-Chris
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.