def read_file
      @file_path = '~/.local/share/wmctile'
      @file_name = 'memory.yml'
      @file_full = File.expand_path([@file_path, @file_name].join('/'))

      if File.exist? @file_full
        file_contents = File.read(@file_full)
        @memory = YAML.load(file_contents)
      else
        create_file
        write_file
      end
    end
def read_file
      @file_path = '~/.local/share/wmctile'
      @file_name = 'memory.yml'
      @file_full = File.expand_path([@file_path, @file_name].join('/'))

      if File.exist? @file_full
        file_contents = File.read(@file_full)
        @memory = YAML.load(file_contents)
      else
        create_file
        write_file
      end
    end
Memory init function. Creates a default yaml file if it's non-existent.


 Reads the yaml file, creating it if non-existent.

 @return [void]