def get_decrpyted_path(encrypted_path, surfix=default_surfix):
surfix_reversed = surfix[::-<NUM_LIT:1>]<EOL>p = Path(encrypted_path).absolute()<EOL>fname = p.fname<EOL>fname_reversed = fname[::-<NUM_LIT:1>]<EOL>new_fname = fname_reversed.replace(surfix_reversed, "<STR_LIT>", <NUM_LIT:1>)[::-<NUM_LIT:1>]<EOL>decrypted_p = p.change(new_fname=new_fname)<EOL>return decrypted_p.abspath<EOL>
Find the original path of encrypted file or dir.

Example:

- file: ``${home}/test-encrypted.txt`` -> ``${home}/test.txt``
- dir: ``${home}/Documents-encrypted`` -> ``${home}/Documents``