added filtering for binary files