upload a file that handle dict presentation