change function to find files