fold-files in PLT's file.ss pretty much has this built in. All you need to add is a procedure to accumulate the size of the files.
For a little twist, here's a version that collects the total file size in the car of a pair and the number of files in the cdr: