Check file types