PHP -> PHP, Python, Perl file scanning