Improve file tools; added GetBaseName class