function assertValidFilePath(filePath) {
	if (!filePath || typeof filePath !== "string") {
		throw new Error("'filePath' must be a non-empty string");
	}
}
Asserts that the given file path is valid.
@param {string} filePath The file path to check.
@returns {void}
@throws {Error} If `filePath` is not a non-empty string.