fileMod = fileInMemory[0:table.offset] + buffer + fileInMemory[table.length + table.offset:]