add array of allowed extensions