Prevent omission of :files from raising KeyError

Since `/files` is said to be optional in the documentation
Merge pull request #16 from dannguyen/patch-1

Prevent omission of :files from raising KeyError