code: public static String[] filesOfRasterMap( String mapsetPath, String mapname ) {
          String filesOfRaster[] = new String[]{mapsetPath + File.separator + GrassLegacyConstans.FCELL + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.CELL + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.CATS + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.HIST + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.CELLHD + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.COLR + File.separator + mapname,
                  // it is very important that the folder cell_misc/mapname comes
                  // before the files in it
                  mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + mapname,
                  mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + mapname + File.separator
                          + GrassLegacyConstans.CELLMISC_FORMAT,
                  mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + mapname + File.separator
                          + GrassLegacyConstans.CELLMISC_QUANT,
                  mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + mapname + File.separator
                          + GrassLegacyConstans.CELLMISC_RANGE,
                  mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + mapname + File.separator
                          + GrassLegacyConstans.CELLMISC_NULL};
          return filesOfRaster;
      }
docs: Returns the list of files involved in the raster map issues. If for example a map has to be
  deleted, then all these files have to.
  
  @param mapsetPath - the path of the mapset
  @param mapname -the name of the map
  @return the array of strings containing the full path to the involved files