Instead of having these double asignment, we can have only one:

self.file_name =  split_name_image[0]
self.file_type =  split_name_image[1]