Delete csv file after import to neo4j

I have imported csv file into neo4j by using java import that provide methods on this.[LOAD CSV - Cypher Manual]
I have been trying to create web-based app where people can automatically import csv into neo4j.
And I want my software to delete the csv file after the user redirect my web.
However, I can't delete csv file after imported it into neo4j.
And it displays the issue 'The action can't be completed because the file is open in neo4j-ce'
So, is there anywhere to delete the csv file?

Are you using windows for deployment?

Can you share exactly what and how you call it to import the CSV?