          (args (cdr icon)))
     (when arg-overrides (setq args (append `(,(car args)) arg-overrides (cdr args))))
     (apply (car icon) args)))
+(memoize 'all-the-icons-icon-for-file)
 
 (defun all-the-icons-icon-for-mode (mode &rest arg-overrides)
   "Get the formatted icon for MODE.

;; Copyright (C) 2016  Dominic Charlesworth <dgc336@gmail.com>

;; Author: Dominic Charlesworth <dgc336@gmail.com>
;; Version: 2.5.1
;; Package-Requires: ((emacs "24.3") (font-lock+ "0"))
;; URL: https://github.com/domtronn/all-the-icons.el
;; Keywords: convenient, lisp


    (if family (all-the-icons-alltheicon-family) (all-the-icons-alltheicon "html5")))))

;; Icon Functions
(defun all-the-icons-icon-for-file (file &rest arg-overrides)
  "Get the formatted icon for FILE.
ARG-OVERRIDES should be a plist containining `:height',
