Renaming file differently when imported is stopped