Could someone please specify the alternative which is faster? Of course it depends if you need to create the file first...