diff --git a/src/Phug/Formatter.php b/src/Phug/Formatter.php
index <HASH>..<HASH> 100644
--- a/src/Phug/Formatter.php
+++ b/src/Phug/Formatter.php
@@ -141,7 +141,7 @@ class Formatter implements ModuleContainerInterface
             $error->getMessage(),
             $error->getCode(),
             $error,
-            $node->getFile(), //TODO: getFile is not exported in NodeInterface
+            $node->getFile(),
             $node->getLine(),
             $node->getOffset()
         );
getFile will be available on Parser next release