Add extension

pathinfo FTW!