async function fileToDataUrl(file) {
	const fs = fsOperation(file);
	const fileInfo = await fs.stat();
	const binData = await fs.readFile();
	return URL.createObjectURL(new Blob([binData], { type: fileInfo.mime }));
}
Converts file to data url
@param {string} file file url