add file filter.(JavaIODemo)