Files can have only allowed extensions now.