code: function getFilePath (baseDir, collection) {
    let directory = getDirectory(baseDir, collection);
    let fileName = collection.substring(collection.lastIndexOf("/") + 1) + ".json";
    fileName = fileName.toLowerCase();
    return path.join(directory, fileName);
  }
docs: Returns the full path of the JSON file for the given collection.
  
  @param   {string}    baseDir    - (e.g. "/some/base/path")
  @param   {string}    collection - (e.g. "/users/jdoe/orders")
  @returns {string}               - (e.g. "/some/base/path/users/jdoe/orders.json")