Filter applied so user can only open .txt files