Fix error in secret_file