reading file in parallel