You could also just take the directory name from the end of the path, in case of directories. I mean, in file mode, what's the use of assigning an album name to a directory when there's already library mode to do that?