file get contents instead of curl