Set valid and invalid file types - refs BT#9041