pub fn encrypt_or_decrypt(filename: &str, action: &str) -> bool