private String getFileName(String srcPath) {
    return srcPath.substring(srcPath.lastIndexOf('/') + 1);
  }
Remove
@param request remove request
@return response with success
contrib/views/commons/src/main/java/org/apache/ambari/view/commons/hdfs/FileOperationService.java