change files directive to relative path