delete the file after read is complete in java code example
Example: how to delete a file in java
File file = new File("filepath");
file.delete(); //Returns boolean
File file = new File("filepath");
file.delete(); //Returns boolean