def calculate_path(file_name)
        path = ''
        if !self.solution || self.solution.id.blank?
            path = "/solutions/temp/#{file_name}"
        else