fixed use of deprecated curl @file