Added the "did_load_filetypes" clause at the top