made filepath relative