Update to check for existing file
Fix namespace issue for the assembly