Adds class to collect file data.