What's funny about the film is that the Epstein twins were writing it as the film was shooting. When they shot the scene where Bogie signals the band to begin the "Marsaillese", they had no idea whom Bogie was signalling or why.
They still turned out a classic.