# ask-the-community

Greg Gydush

04/14/2023, 4:19 PM
I am using dataclassjson with a custom type that inherits from FlyteFile (has different functionality to handle downloading associated index files). Due to this line, the custom type is being treated as a FlyteFile - wondering if the issubclass is too broad here and if we could make it more targeted to handle children of FlyteFile
May need to pair with someone - maybe @Yee after our debug sesh l8r we can chat about it
@Greg Gydush these are the two test files we were talking about.
i just linked to two examples, but there are plenty more in the files
i think these can help debug.