How to read files or execute code in new GPT-4?

After the GPT-4 update, it can no longer read files or execute code.

I’ve already tried all kinds of files(.py .txt .md…). The Code Execution and DALLE3 functions also failed after updating.