upload a file, extract it with the code