detect non-local files