Adding option to log files when uploaded