There's a few places in this file where `files` has not been replaced with `links` yet