rename file with old API