original_string: public function insertFile($file)
      {
          if ( ! $this->checkedIndexes) {
              $this->ensureIndexes();
          }
  
          $this->filesCollection->insertOne($file);
      }
code: public function insertFile($file)
      {
          if ( ! $this->checkedIndexes) {
              $this->ensureIndexes();
          }
  
          $this->filesCollection->insertOne($file);
      }
code_tokens: public function insertFile ( $ file ) { if ( ! $ this -> checkedIndexes ) { $ this -> ensureIndexes ( ) ; } $ this -> filesCollection -> insertOne ( $ file ) ; }
docstring: Inserts a document into the files collection.
  
  The file document should be inserted after all chunks have been inserted.
  
  @param array|object $file File document
docstring_tokens: Inserts a document into the files collection .