function assignFilePaths(files, parentPath = '') {
	files.forEach(file => {
		file.path = parentPath ? `${parentPath}/${file.name}` : file.name;
		if (file.isFolder) {
			assignFilePaths(
				file.children,
				parentPath ? `${parentPath}/${file.name}` : file.name
			);
		}
	});
	return files;
}
Recursively iterates and assigns the `path` property to the files in passed files
array.
@param {array} files files structure for an item
@param {string} parentPath Parent path to prefix with all processed files