PHP script to list files in a directory that have names (sans extension) matching a db field's values, and optionally move the files and update the database.