Create TextFilter.java

Used to ensure that the only files that users can select are plain text