encoding spec factory grade file