Optimization and prepare ground for filter

filename is no more always searched
clarify help output
refacto search in content in function
minimize cout flush