figure out package name from filename