initial support to filter input file