code: protected FileInfo getFileInfo(FSInodeInfo srcINode, String path) throws IOException {
      for (Codec c : Codec.getCodecs()) {
        if (path.startsWith(c.tmpHarDirectoryPS)) {
          return new FileInfo(FileType.HAR_TEMP_PARITY, c);
        }
        if (path.startsWith(c.tmpParityDirectoryPS)) {
          return new FileInfo(FileType.TEMP_PARITY, c);
        }
        if (path.startsWith(c.parityDirectoryPS)) {
          return new FileInfo(FileType.PARITY, c);
        }
        NameWithINode ni = getParityFile(c, path);
        if (ni != null) {
          if (c.isDirRaid && srcINode != null && srcINode instanceof INodeFile) {
            INodeFile inf = (INodeFile)srcINode;
            if (inf.getFileSize() < this.minFileSize) {
              // It's too small to be raided
              return new FileInfo(FileType.NOT_RAID, null);
            }
          }
          return new FileInfo(FileType.SOURCE, c, ni.name, ni.inode);
        }
      }
      return new FileInfo(FileType.NOT_RAID, null);
    }
docs: Return raid information about a file, for example
  if this file is the source file, parity file, or not raid
  
  @param path file name
  @return raid information
  @throws IOException