change to directory of file