sim: add copyright notices and merge file_codec.c into core.c
9 files changed