get file basename
debug output