file name is a variable and made fixes to y-rotation