swapped rrd files scan function.

this will be much faster and cleaner