support filter symbol, file or path