Removing unnecessary files
Using java code