If you're looking to draft a useful feature for a project or application, I'll need a bit more context to provide a precise answer. However, I can offer a general approach to feature drafting that you can adapt to your needs.
def parse(self):
# Remove file extension
clean_name = self.filename.rsplit('.', 1)[0]
Input Example (simulated):
studio231014actor-source-title_new.mp4 blacked231014bonnigeebbcthirstybonniwi new