def extract_source_from_file(file_path, env = {})
      source = HtmlMockup::Template.open(file_path, :partials_path => self.project.partial_path, :layouts_path => self.project.layouts_path).render(env.dup)

      if @options[:url_relativize]
        source = relativize_urls(source, file_path)
      end
      
      source
    end
def extract_source_from_file(file_path, env = {})
      source = HtmlMockup::Template.open(file_path, :partials_path => self.project.partial_path, :layouts_path => self.project.layouts_path).render(env.dup)

      if @options[:url_relativize]
        source = relativize_urls(source, file_path)
      end
      
      source
    end
Runs the extractor on a single file and return processed source.