change file finding mechanism