changed dir traversal to recursively calc size and added function to convert to format expected by google charts