Removes unneeded d2 prefixes in filenames