find some necessary files