WIP refactoring.
file exists.
Remove refactored code.