upl_file method