Added ability to decode embedded files.
Added additional file output checking to ensure that file overwrites are handled correctly.