Uploading files from class pi