removeRegistry function

Remove a Registry from the File System