Alright, I was worried about the '/' since Windows uses '\'. Still wish there was an actual basename function though.