change file name to the right format