upload written and not tested for offline mode. just want to read up on handling response from http so i can delete files only when needed/ keep them only when needed.