@@ -0,0 +1,1066 @@
+package seedu.tasklist.logic.commands;%0A%0Aimport java.io.IOException;%0A%0Apublic class SaveCommand extends Command %7B%0A    %0A    public static final String COMMAND_WORD = %22save%22;%0A    %0A    public static final String MESSAGE_USAGE = COMMAND_WORD + %22: Change the directory and file name of the data that is being saved.%5Cn%22%0A            + %22Parameters: FILE_PATH/FILE_NAME.xml%5Cn%22%0A            + %22Example: %22 + COMMAND_WORD + %22 data/mytasklist.xml%22;%0A    %0A    public static final String MESSAGE_SUCCESS = %22File is successfully saved to: %251$s%22;%0A    public static final String MESSAGE_INVALID_PATH = %22Invalid file path: %251$s%22;%0A    %0A private final String filePath;%0A    %0A    public SaveCommand(String filePath)%7B%0A        this.filePath = filePath;%0A    %7D%0A    %0A    @Override%0A    public CommandResult execute() %7B%0A        try%7B%0A            model.saveTaskList(filePath);%0A            return new CommandResult(String.format(MESSAGE_SUCCESS, filePath));%0A        %7Dcatch (IOException e)%7B%0A            return new CommandResult(String.format(MESSAGE_INVALID_PATH, filePath));%0A        %7D%0A        %0A    %7D%0A%0A%7D%0A

Add SaveCommand.java