private long addFile(InputStream is, long fileLen) throws IOException, InterruptedException
    {
        boolean isLargeFile = false;
        if(fileLen > 0xa00000L)
            isLargeFile = true;
        FS_Function fs_fsi = FS_Function.getInstance();
        Long id = Long.valueOf(fs_fsi.genFileId(isLargeFile));
        if(id.longValue() != -1L && fs_fsi.addFileSingle(id.longValue(), is, fileLen) != -1L)
        {
            System.out.println((new StringBuilder("File ID= ")).append(id).toString());
            return id.longValue();
        } else
        {
            Log.logger.error("File ID null");
            return -1L;
        }
    }