Stupid mistake when removing inserted ! at the end of the file name by not keeping absolute path