Is there anyway to password a file so it prompts for a password when double clicked? e.g if someone wants to read a .txt file with sensitive information, it will ask for a password before being opened

Many thanks