curl instead of file_get_contents

Signed-off-by: Potsky <potsky@me.com>