Better debugging to solve AddFileCodec issues

Signed-off-by: Chris Sanders <zidane@outlook.com>