made path to files dir relative