Use basename instead of path for APP_FILE.