The gpx files are actually text files formatted in xml containing a long list of gps points (latitude and longitude). Most often, these points were recorded using a smartphone app during a trip on a trail to memorize the path.
There are many software programs to edit, create or enrich these courses. These software are sometimes complex or require registration, even paid.
The idea here is simply to be able to cut / crop a gpx path from a file retrieved on the internet (tourist office, walking site, mountain biking site, trail, raid,...) or provided by a third party.
Example: wanting to do just the half of a stage of the way to Santiago using its markup.