make it return lines instead of just file path