fixed dupl file name error & clarified skip upload code