plugins.file.deleteFile not working?

Hi all,

I have a strange problem on Servoy 6.1.4 and latest java 7 on Mac OS X. Both from Developer and Servoy Smart Client.
People can import files to the server and after streaming the file to the server, I offer to delete the file using

plugins.file.deleteFile(f);

returns false and does not delete the file. Is this a new Java security thing? Any way around this?
Same happens with

file.deleteFile();

Any ideas?

Sorry, this was my bug. I was trying to delete the remote file rather than the local one.
Issue solved.