Changed input stream to DataInputStream to transfer file data

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>