added filtering when detect file & line