Error with asking for file types