You should be able to get to the file using SSH or putty. Check out this WD article on using SSH for your NAS https://support-en.wd.com/app/answers/detail/a_id/26497/kw/winscp#subject3