Extract a method

TODO: support for other than "/" (root).
Extract methods "source" and "filename"
Indent