As the other user suggested, this can be achieved easily through Configurations (inside your package).
So basically :
1)Create a variable (say FILE_LOC of datatype string)
Put the path in that variable ie assign the variable a value = your path.
2) 'Expressionize' your file connection manager ie In the properties of your file connection manager, go to expressions(click the ellipsis in expresiiosn) and set the expression as the variable created in step above.
3) Create a config file(you can also keep your package configs in database btw). Export this variable to a config file.
Now when you deploy your package to a diff env, just change the value of the said variable in the config file. The package should pick the path from the cofig file.
Hopw this helps.