Akira Kurosawa's film Rashomon (1950) is in fact based primarily on another of Akutagawa's short stories, "In a Grove"; only the film's title and some of the material for the frame scenes, such as the theft of a kimono and the discussion of the moral ambiguity of thieving to survive, are borrowed from "Rashōmon".
The story recounts the encounter between a servant and an old woman in the dilapidated Rashōmon, the southern gate of the then-ruined city of Kyoto, where unclaimed corpses were sometimes dumped.
The man, a lowly servant recently fired, is contemplating whether to starve to death or to become a thief to survive in the barren times.
In addition, the woman who she is currently robbing cheated people in her life by selling snake meat and claiming it was fish.
[1] The manga Bungo Stray Dogs features a character named after Akutagawa with heavy references to Rashōmon.