Remove unused totalSize and add placeholder for subdir support in demo