Upload of files and function readGPX