using StringUtil to check empty filePath