bool converted to Bool, true -> True, False -> False
added extern "C" directive
added current file's name storage
get rid of <stdio.h> header and printing info while decoding
F_WRITE returns proper error code