Move some methods to FileOperations.
Add confirmDialog on launcher closing.