Removed special case for '.' in path.