Add debugging info to figure out why it's not replacing the right file.