// (since it is based on the package name) and could overwrite an existing,
// valid, signature file
if ((sigString != null) && (signatureDirectory != null))
{
final ProgramNode pNode = (ProgramNode)unit.getSyntaxTree();
final PackageDefinitionNode pdn = pNode.pkgdefs.first();
final String pkgName = NodeMagic.getPackageName(pdn).replace('.', '_');
// final VirtualFile vFile = unit.getSource().getBackingFile();
// this is only kinda sketchy, but it works... all I need is the file name, not the path
final String fileName = new File(unit.getSource().getNameForReporting()).getName();