public static HashMap<String, String> readFile(String filePath){
        HashMap<String, String> returnMap = new HashMap<String, String>();
        FileReader fileInput;
        BufferedReader fileReader;
        try {
            fileInput = new FileReader(filePath);
            fileReader = new BufferedReader(fileInput);
            
        } catch (FileNotFoundException e) {
           
            return null;
           
           
        }
        
        String line;
        
        try {
            while((line = fileReader.readLine()) != null){
                line.trim();
                String[] kv = line.split(":");
                if(kv.length!=2){// Malformed line, ignore it
                    continue;
                }
                
                returnMap.put(KvReader.cleanText(kv[0]), KvReader.cleanText(kv[1]));
            }
        } catch(IOException e) {
           return null;
            
          
        }
        
        try {
            fileReader.close();
            fileInput.close();
        } catch(IOException e){
            e.printStackTrace(System.err);
        }
        
        return returnMap;
    }