Junk files in /data/files

I want to know what happens to the old files when I replace an image in Java. Does Mendix delete old images/files later, or do you have to do it manually in the Java, because I see the old files remain in ${deployment}/data after you replace the content in a Java action Thankyou
1 answers

I'm not sure but if you do manual stuff in a java action then you have to clean it up manually also.