feat: add get file local path so it can be executed
fix: set extern file access correctly
feat: add extern device access