added string cast for getFileKeyFromKey
Merge pull request #2 from c33s/patch-2

added string cast for getFileKeyFromKey