Background: Dolly Rebecca Parton Dean (born January 19, 1946) is an American singer, songwriter, multi-instrumentalist, record producer, actress, author, businesswoman, and philanthropist, known primarily for her work in country music. After achieving success as a songwriter for others, Dolly Parton made her album debut in 1967, with her album Hello, I'm Dolly. With steady success during the remainder of the 1960s (both as a solo artist and with a series of duet albums with Porter Wagoner), her sales and chart peak came during the 1970s and continuing into the 1980s; Parton's subsequent albums in the later part of the 1990s were lower in sales.
Context: In addition to her performing appearances on The Porter Wagoner Show in the 1960s and into the 1970s, her two self-titled television variety shows in the 1970s and 1980s, and on American Idol in 2008 and other guest appearances, Parton has had television roles. In 1979, she received an Emmy award nomination as "Outstanding Supporting Actress in a Variety Program" for her guest appearance in a Cher special. During the mid-1970s, Parton wanted to expand her audience base. Although her first attempt, the television variety show Dolly! (1976-77), had high ratings, it lasted only one season, with Parton requesting to be released from her contract because of the stress it was causing on her vocal cords. (She later tried a second television variety show, also titled Dolly (1987-88); likewise, it lasted only one season).  In her first feature film, Parton portrayed a secretary in a leading role with Jane Fonda and Lily Tomlin in the comedy film 9 to 5 (1980). She received nominations for a Golden Globe Award for Best Actress - Motion Picture Musical or Comedy and a Golden Globe Award for New Star of the Year - Actress. Parton wrote and recorded the film's title song. It received nominations for an Academy Award for Best Song and a Golden Globe Award for Best Original Song. Released as a single, the song won both the Grammy Award for Best Female Country Vocal Performance and the Grammy Award for Best Country Song. It also reached No. 1 on the Hot 100 chart and it was No. 78 on the "AFI's 100 Years...100 Songs" list released by the American Film Institute in 2004. 9 to 5 became a major box office success, grossing over $3.9 million its opening weekend, and over $103 million worldwide. Parton was named Top Female Box Office Star by the Motion Picture Herald in both 1981 and 1982 due to the film's success.  In late 1981, Parton began filming her second film, the musical film The Best Little Whorehouse in Texas (1982). The film earned her a second nomination for a Golden Globe Award for Best Actress - Motion Picture Musical or Comedy. The film was greeted with positive critical reviews and became a commercial success, earning over $69 million worldwide. After a two-year hiatus from films, Parton was teamed with Sylvester Stallone for Rhinestone (1984). A comedy film about a country music star's efforts to mould an unknown into a music sensation, the film was a critical and financial failure, making just over $21 million on a $28 million budget.
Question: What was the name of the film she played the secretary?

Answer:
9 to 5 (