Adding a check for null package files
Checking for null title