Example: Set package name as filename
Sometimes you might have files with bad filenames but a nice package name e.g. if you added directurls and defined a nice package name before.
In this case it might make sense to set the packagename as filename as shown below.