Rename files, directory only dependant on dimension (not rank as well)