Less Calls To Basename Function