Added comments and getNumLines() to path.