Check for empty string.
Check for file existence.
Merge branch '4.0'