**Title**: π File Management System Bug - Renamed File Disappears
*Overview*:
I am encountering an issue with a file management system I implemented in Java. The problem arises when attempting to rename a file using the system. After renaming the file, it seems to disappear from the directory and cannot be found using the system's find functionality or by browsing the directory manually. I would appreciate any insights or suggestions on how to resolve this issue.
**Steps to Reproduce**:
1. π» Compile and run the provided Java code for the file management system.
2. π Choose the option to rename a file from the menu.
3. π Enter the name of an existing file that you want to rename.
4. βοΈ Enter a new name for the file.
5. π Observe the output message indicating whether the file was successfully renamed or not.
6. βοΈ Use the file management system to perform other operations such as copying, moving, or deleting files.
7. π Try to locate the renamed file using the find functionality or by browsing the directory where it was supposed to be.
8. π΅οΈββοΈ Notice that the renamed file is not found and appears to have disappeared.
I would greatly appreciate any assistance in identifying the cause of this issue and finding a solution. Thank you in advance for your help! π
Please note that Discord's formatting options may vary depending on the platform and client you are using. Adjust the formatting accordingly if needed.