If a file is dirty * Ensure the attached file is saved before sending the request to cli * Ensure the file is saved before the cli attempts to read the file