Should use Java 1.6, and cleanup of the file