DO you mean to say that i need to close the fileReader ??
On Windows, yes, indeed.
Note, also, that renameTo() will work only within a single filesystem (disk). To "rename" a file across disks, you need to copy the contents and delete the old file. It's a good idea to try renameTo(), then do copy/delete as a backup.