Conversation so far:
who sang as time goes by in casablanca
As Time Goes By became famous when it was featured in the 1942 Warner Bros. film Casablanca performed by Dooley Wilson as Sam.
who wrote the song as time goes on
As Time Goes By is a song written by Herman Hupfeld in 1931.
was the song as time goes by written for casablanca
As Time Goes By was not written specially for Casablanca. It was written a decade before for the modestly successful 1931 Broadway show Everybody’s Welcome.

Question: was the song in any other movie
Self-contained rewrite: was the song as time goes by in any other movie besides casablanca