use File::Next instead of File::Find
made a cwd() function that returns an untainted cwd