fix file opening path to be relative