use better way of filter filename or word content