Rename file to gpx_file in extractpoints
Don't use cmd builtin