cleaning up a filename