do http call instead of reading from file