change path to open a file