You could also use basename()