'Returns full path to a file, for example:
get_filename(\'css/one.css\') -> \'/full/path/to/static/css/one.css\''

def get_filename(self, basename):

    filename = None
    if (not settings.DEBUG):
        try:
            filename = self.storage.path(basename)
            if (not self.storage.exists(basename)):
                filename = None
        except NotImplementedError:
            if compressor_file_storage.exists(basename):
                filename = compressor_file_storage.path(basename)
    if ((not filename) and self.finders):
        filename = self.finders.find(url2pathname(basename))
    if filename:
        return filename
    raise UncompressableFileError((u"'%s'    could    not    be    found    in    the    COMPRESS_ROOT    '%s'%s" % (basename, settings.COMPRESS_ROOT, ((self.finders and u'    or    with    staticfiles.') or u'.'))))
