adds files from wordpress version of map_index