Move find_files func to top; Localize files var