Re-phrase to avoid index out-of-range
Handle file not found
Merge pull request #6 from alexeicolin/pr--handle-file-not-found

Looks good, I feel really bad about not looking at this till now.