title: Create an object to combine duplicate files
body: <p>I'm new to JS and have following object where <code>key</code> is path of a file and <code>value</code> is <em>file name</em> and the <em>time</em> it was added. The files are duplicated and name are same i.e. <strong>JackFusco_JasperGeminids.jpg</strong> and <strong>Goldman-Sachs-Suggested-Reading-List.pdf</strong></p>
  
  <pre><code>{"/home/JackFusco_JasperGeminids.jpg": ["JackFusco_JasperGeminids.jpg", "2018-02-23T02:43:21"],
  
   "/Photos/JackFusco_JasperGeminids.jpg": ["JackFusco_JasperGeminids.jpg", "2018-02-23T02:43:42"],
  
   "/home/Goldman-Sachs-Suggested-Reading-List.pdf": ["Goldman-Sachs-Suggested-Reading-List.pdf", "2018-02-23T02:01:24"],
  
   "/Photos/Sample Album/Goldman-Sachs-Suggested-Reading-List.pdf": ["Goldman-Sachs-Suggested-Reading-List.pdf", "2018-02-23T02:01:56"]}
  </code></pre>
  
  <p>I want to create another object and combine the same name files basically to tell the user that the same file is stored at two different locations. </p>
  
  <p>The expected output is:</p>
  
  <pre><code>{"JackFusco_JasperGeminids.jpg": ["/home/JackFusco_JasperGeminids.jpg", "2018-02-23T02:43:21"], ["/Photos/JackFusco_JasperGeminids.jpg", "2018-02-23T02:43:42"]}
  
  {"Goldman-Sachs-Suggested-Reading-List.pdf": ["/home/Goldman-Sachs-Suggested-Reading-List", "2018-02-23T02:01:24"], ["/Photos/Sample Album/Goldman-Sachs-Suggested-Reading-List.pdf", "2018-02-23T02:01:56"]}
  </code></pre>