Self-documenting helper function to check if any file needs upload

I have created function needsUploading which checks if any file needs to be uploaded. Updated examples show that it can increase readability a little bit.