def METHOD_NAME(filename):
    filename = filename.strip()
    if filename[-3:] == ".js":
        filename = filename[:-3] + ".min.js"
    elif filename[-4:] == ".css":
        filename = filename[:-4] + ".min.css"
    return filename