Don't use Java 7 features
Delete files properly