So we've got the date and time of the photo, but we still need an extension for the filename. 

Remove the print() statements. Then add ".png" to f_time in a variable you call new_filename.