We can use path from the stdlib. So line 24 can be removed.