Tests
Only include the size for files, not directories

… because directories the directory size will not be correct if any files are later filtered out of the directory.