Changing filename to make sure it is valid