Added check for LocalPath exists