Fix problem with deep filter
Simplify deep filter
Better parameter for inport
Refactoring