add local file path support