Removed debug code.
Added instructions on how to add an XID.
Forgot to check for non-existant file.