Create Filter.java

Use to filter only .text file