rewrite processedfile and add more info into upload page