Move ExportAnchors to more suitable class
Refactor file utilities