support all file types that Roo support. Return error for unsupported
types.