sometimes $reponse->items is a null array
file_exists is case-sensitive