Process files in parallel to improve performance