use file.path to figure out relative path