The file
The '80s had a taxonomy: nerds were smart, geeks were obsessive, and dweebs were just embarrassing. A dweeb tucked his shirt in. Every John Hughes movie needed one.
It's an affectionate insult now, which it wasn't in 1986.
Sources: Wiktionary — Dweeb