I think that the order of the commands is random and files that were created were removed. Also, it's not needed.