File with given name

Author: LGTM

import python

from File f
where f.getShortName() = 'spam.py'
select f

Description

Finds files called `spam.py`