store in two different maps using hashmap
<p>I had a file with two different entries, one from males and other from females. Trying to read the file and store using hashmap with the name as key and corresponding ID as value. Can some one help me to figure out how to store them in two different maps.In other words, if male direct it to (map.males) and if females direct it to (map.females). Thank you very much. Here is the sample input and my code without direction!!!!!!!</p>

<pre><code>**Males**
 Rob 1
 John 3
 Josh 7
 Anand 9
 Paul 5
 Norm 8
 Alex 4

 **Females** 
  Kally 43
  Kate 54
  Mary 23
  Amanda 13
  Mariam 15
  Alyssa 18
 Christina 24



 import java.io.*;
 import java.util.*;

 class ReadFileAndStoreHashmap {
 public static void main(String[] args)  {
 try{
   Scanner scanner = new Scanner(new FileReader("C:\"));
   HashMap&lt;String, String&gt; map = new LinkedHashMap&lt;String, String&gt;();
   while (scanner.hasNextLine()) {
   String[] columns = scanner.nextLine().split(" ");
   if(columns.length == 2)
   map.put(columns[0], columns[1]);
  System.out.println(map);
    }
    }catch (Exception e){
   System.out.println(e.toString());
   }}}
</code></pre>
