String filename, ParkingDocumentType documentType) {
String filename, ParkingDocumentType documentType, InputStream inputStream) {
        protected void writeParkingFile(ParkingRequest parkingRequest, FilePath filePath,                String filename, ParkingDocumentType documentType) {            final Group group = getGroup(parkingRequest.getParkingParty().getParty());            final FileMetadata fileMetadata = new FileMetadata(filename, getParkingParty().getParty()                    .getName());            final FileDescriptor fileDescriptor = FileManagerFactory.getFileManager().saveFile(filePath,                    filename, true, fileMetadata, getDriverLicenseInputStream());            final ParkingFile parkingFile = new ParkingFile(filename, filename, fileDescriptor                    .getMimeType(), fileDescriptor.getChecksum(), fileDescriptor.getChecksumAlgorithm(),                    fileDescriptor.getSize(), fileDescriptor.getUniqueId(), group);            new ParkingDocument(documentType, parkingFile, parkingRequest);        }