Issue #205 - Prevent user from trying to upload without file
Issue #140 - Check for null value on dependentFlag property