debug on upload files