Move head to its own file.