Switched file reader to async manner