upload main file