added file finding code