Checks if string is a vector file.
static bool isVector(String filePath) { return filePath.toLowerCase().endsWith(".svg"); }