Charmed quarks: Structure function and nonperturbative interactions