added decrypt_file method