add more filecode support