adding filename information to regions