Rename file and initialize settings