Reads the file at the specified path, and converts its contents into a data URL.
The path of the file to read.
The media type to associate with the data URL.
The data URL corresponding to the given file.
Reads the file at the specified path, and converts its contents into a data URL.