IMO the find_file parameter under should be optional. i.e. the default behaviour should not require a limit. Constructing the limit means the caller needs to stray into OS specific logic, which overly complicates what should be the default behaviour.