Separated collecting files and determining their sizes.