Using CSV methods instead of FILE