Add getSelectedTask() function and add more exception cases
Move File utility function to File Utility class
Handle Exceptions in separate classes