Use InputStream for concatenating two files