private String getDestination(String baseDestination, String fileName) {
    if(baseDestination.endsWith("/")) {
      return baseDestination + fileName;
    } else {
      return baseDestination + "/" + fileName;
    }
  }
Remove
@param request remove request
@return response with success
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/FileOperationService.java