added uploadFile(InputStream inputStream, Map<String, String> tags) method