original_string: public function deleteFile(FileInterface $file)
      {
          $this->storage->deleteFile($file);
          $this->formatManager->deleteFormats($file);
          $this->em->remove($file);
          $this->em->flush();
      }
code: public function deleteFile(FileInterface $file)
      {
          $this->storage->deleteFile($file);
          $this->formatManager->deleteFormats($file);
          $this->em->remove($file);
          $this->em->flush();
      }
code_tokens: public function deleteFile ( FileInterface $ file ) { $ this -> storage -> deleteFile ( $ file ) ; $ this -> formatManager -> deleteFormats ( $ file ) ; $ this -> em -> remove ( $ file ) ; $ this -> em -> flush ( ) ; }
docstring: Deletes file and associated formats.
  
  @param FileInterface $file
docstring_tokens: Deletes file and associated formats .