Using singular file add method with array_map