Rename a file in specific format