Use new InputStream
cleanup eclipse project.
different print for directories.