Fixed nil pointer on file check
Fixed nil pointer on file check

Fixes #41

orimarti/distributive,pinterb/distributive,orimarti/distributive,CiscoCloud/distributive,CiscoCloud/distributive,pinterb/distributive