add grep by file mask function