function doesFileExistInFolder(folder, fileName) {
	const details = getChildFileFromName(folder.children, fileName);
	return !!details.file;
}
Checks if a file with same name exists in the passed folder.
@param {object} folder Folder to search in
@param {string} fileName File name to search for