I tried debugging but it reaches everything fine and then nothing happens
To clarify filename is the path to the file including the file
filename
a