external resources part 1
skip upload of database if nothing changed (equal size); 
prevent from uploading empty files; 
cleanup in Client.java