Fixed problem with large file sizes (Out of memory error - java heap).
Added log4j dependency.