return static_file(os.path.basename(path), root=os.path.dirname(path),
                           mimetype=get_mime_type(path))