Changed var declaration pattern in findFile() for consistency.