renaming serial file