Shit. Forgot to import os.