includesHash = (filename, hashes) => {
	if (!hashes) return false;
	if (Array.isArray(hashes)) {
		return hashes.some(hash => filename.includes(hash));
	}
	return filename.includes(hashes);
}
@param {string} filename filename
@param {string | string[] | undefined} hashes list of hashes
@returns {boolean} true, if the filename contains any hash