change from FileInputStream to InputStream

*other services will usually supply an InputStream