Better handling of '.' at the start of an object
Move the '.' handling
Do not modify the object to suit a path
Clean up using end of line markers
More cleanup and create test file.
Add tests