public function scan (FileContext $file) 
	{
		$filename = $file->getName();

		$code = file_get_contents ($filename);

		try 
		{
		    $stmts = $this->parser->parse ($code);
			$traverser = $this->factory->createTraverser ($file);
		    $traverser->traverse ($stmts);
		} 
		catch (PhpParser\Error $e)
		{
		    echo "\n\nParse Error: " . $e->getMessage() . " ({$filename})\n";
		}
		catch (\Exception $e)
		{
		    echo "\n\n" . $e->getMessage() . " (in {$filename})\n";
		}
		catch (\Throwable $e)
		{
		    echo "\n\n" . $e->getMessage() . " (while analysing {$filename})\n";
		}
	}