change from FileInputStream to InputStream

*other services will usually supply an InputStream
Merge pull request #52 from eiselems/19

change from FileInputStream to InputStream, fixes #19